home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Camelot
/
Camelot 098 (1990-12)(Swedish User Group of Amiga)(SE)(PD)[WB].zip
/
Camelot 098 (1990-12)(Swedish User Group of Amiga)(SE)(PD)[WB].adf
/
XLisp-Stat
/
Book
/
buffering.lsp
< prev
next >
Wrap
Text File
|
1990-10-11
|
630b
|
23 lines
; book pp.244-246
(setf w (send graph-window-proto :new))
(let ((width (send w :canvas-width))
(height (send w :canvas-height))
(mode (send w :draw-mode)))
(send w :draw-mode 'xor)
(dotimes (i (min width height))
(send w :draw-symbol 'disk t i i)
(send w :draw-symbol 'disk t i i))
(send w :draw-mode mode))
(pause 50)
(let ((width (send w :canvas-width))
(height (send w :canvas-height)))
(dotimes (i (min width height))
(send w :start-buffering)
(send w :erase-window)
(send w :draw-symbol 'disk t i i)
(send w :buffer-to-screen)))